<!DOCTYPE HTML>
<html>
<head>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<meta charset="utf-8">
<title>Premium Calculator</title>
<link>
<body>
<table>
<tr>
<td> </td>
<td>
	<div class="container">
		<div class="header">
			<a href="#"><img src="" alt="Insert Logo Here" name="Insert_logo"
				width="180" height="90" id="Insert_logo"
				style="background: #C6D580; display: block; color: #999966; font-size: 100%;" />
			</a>
			<!-- end .header -->
		</div>
		<div class="content">
			<form:form commandName="userDetail" action="premium.htm">
				<table>
					<tr>
						<td>Name :</td>
						<td><form:input path="name" />
					</tr>
					<tr>
						<td>City Name :</td>
						<td> <!-- <form:select path="cityType" items="${cityType}" 
								itemLabel="cityName" itemValue="id" /> 
							--> <form:select path="cityType">
								<form:option value="-" label="--Please Select" />
								<form:options items="${cityType}" itemValue="id"
									itemLabel="cityName" />
							</form:select>
						</td>
					</tr>
					<tr>
					<td>Age Group :</td> 
					<td><form:select path="age">
								<form:option value="-" label="--Please Select" />
								<form:options items="${ageGroup}" itemValue="id"
									itemLabel="ageGroupStr"/>
							</form:select></td>
					</tr>
					<tr><td><input type="submit" value="calculate"/></td></tr>
					
					<tr><td>Your premium value is :</td><td>${userDetail.insuranceAmount}</td></tr>
				</table>
			</form:form>
			</td>
		</div>
		</tr>	
	<tr>
<td colspan="1">
		<div class="footer">
			<p>Footer</p>
			<!-- end .footer -->
		</div>
		<!-- end .container -->
	</div>
	</td>
	<tr>

	</table>
</body>
</html>
